package com.cyx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private Integer id;
    private String name;
    private String email;
    private String address;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private Integer gender;
    private Department department;
}
